File:en/ProductsThr.htm
Method:query.dataMap(sql)
'monohydrate' 附近有语法错误。 字符串 ' ' 后的引号不完整。 select * from cpgoods where CAS='2'-Deoxyguanosine monohydrate' or GoodsCode='2'-Deoxyguanosine monohydrate' or GoodsName='2'-Deoxyguanosine monohydrate'
数据库执行错误
themes/theme/en/xmls/engoods.xmls
...randMap=$map();
}
@queryuser=$query(user,user);
@queryuser[UserId]=@UserId;
@userMap=@queryuser.map(['UserGrade,UserType'],['UserId={*UserId}']);
$if(!@userMap){
@userMap[UserGrade]=0;
@userMap[UserType]=0;
}
@pro=$call(~apps/user/shopcart.xmls);
@pro.getPormotion(@brandMap[PromotionIds],@cataMap[PromotionIds],@itemMap[PromotionIds],@itemMap[Price],1,@userMap[UserGrade],@userMap[UserType]);
}


//��Ʒ����
$sub viewGoods(){
@queryGoods=$query(goods,goods);
@Guid=$argv(0,$null);
@
rowGoods=@queryGoods.dataMap(['select * from cpgoods where CAS='{@Guid}' or GoodsCode='{@Guid}' or GoodsName='{@Guid}' ']);
@CatalogName=@queryGoods.dataScalar(['select EnCatalogName from cpcatalog where CatalogId={@rowGoods[CatalogId]}']);
@pid=@queryGoods.dataScalar(['select ParentId from cpcatalog where CatalogId={@rowGoods[CatalogId]}']);
@CATALOGNAME=@queryGoods.dataScalar(['select EnCatalogName from cpcatalog where CatalogId={@pid}']);
//�ܷ�����
@pid=@queryGoods.dataScalar(['select Pa...